package com.train.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.train.member.resp.CaptchaResp;
import com.train.member.resp.LoginResp;
import com.train.member.resp.MemberSendSmsResp;
import com.train.member.resp.UserInfoResp;
import com.train.member.dto.MemberLoginDTO;
import com.train.member.dto.MemberSendSmsDTO;
import com.train.member.po.MemberPO;
import jakarta.validation.Valid;
import org.springframework.validation.annotation.Validated;

/**
* @author baitiaojun
* @description 针对表【member(会员)】的数据库操作Service
* @createDate 2025-02-08 17:28:33
*/
@Validated
public interface MemberService extends IService<MemberPO> {

    MemberSendSmsResp sendSms(@Valid MemberSendSmsDTO memberSendSmsDTO);

    LoginResp login(@Valid MemberLoginDTO memberLoginDTO);

    CaptchaResp captcha();

    UserInfoResp getUserInfo();
}
